package com.example.community.mapper;

import com.example.community.model.Floor;
import com.example.community.model.Repair;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RepairMapper {
    int CountRepair();
    List<Repair> selectLimit(@Param("yss")Integer yss, @Param("shuju")Integer shuju);

    int CountRepairByUsNo(Integer usNo);
    List<Repair> selectLimitByUsNo(@Param("yss")Integer yss, @Param("shuju")Integer shuju, @Param("usNo")Integer usNo);
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table repair
     *
     * @mbg.generated Thu Jun 24 13:44:17 CST 2021
     */
    int deleteByPrimaryKey(Integer reNo);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table repair
     *
     * @mbg.generated Thu Jun 24 13:44:17 CST 2021
     */
    int insert(Repair record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table repair
     *
     * @mbg.generated Thu Jun 24 13:44:17 CST 2021
     */
    Repair selectByPrimaryKey(Integer reNo);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table repair
     *
     * @mbg.generated Thu Jun 24 13:44:17 CST 2021
     */
    List<Repair> selectAll();
    List<Repair> selectAllStatic();
    List<Repair> selectAllByUsNo(Integer usNo);
    List<Repair> selectAllByUsNoStatic(Integer usNo);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table repair
     *
     * @mbg.generated Thu Jun 24 13:44:17 CST 2021
     */
    int updateByPrimaryKey(Repair record);
}